Webdados\InvoiceXpressWooCommerce\BaseController D

Total Complexity 186
Dependencies 5
Dependents 0
Total lines 1,393
Lines of code 903
Logical lines of code 448
Comment lines 357
Methods 30
Properties 6

Methods 30

Method Rating Maintainability Complexity Lines of code
getOrderItemsForDocument()
D
28
31 138
getAndSendPDF()
B
31 19 126
finalize_document()
B
33 18 104
storeAndNoteDocument()
B
36 14 81
process_items()
A
47 14 31
storeAndNoteMassDocument()
A
39 11 62
send_invoice_email()
A
37 10 75
preventDocumentIssuingLogger()
A
50 12 26
get_due_date()
A
50 11 28
find_sequence_id()
S
54 6 21
get_vat_name()
S
57 6 17
preventDocumentIssuing()
S
55 5 21
changeOrderState()
S
55 3 20
get_document_client_name()
S
60 3 13
sendErrorEmail()
S
48 1 35
registerSettingsOptionsValidation()
S
60 2 15
can_send_non_woocommerce_email()
S
76 3 3
registerSettingsOptions()
S
63 2 12
format_string()
S
66 2 8
get_order_number()
S
77 2 3
doActionEmail()
S
69 2 6
noteDocumentFailedPDF()
S
60 1 13
doActionFinalize()
S
74 1 4
__construct()
S
66 1 9
draft_document_note()
S
65 1 9
set_email_to_html()
S
82 1 3
get_blogname()
S
79 1 3
getDocumentPDF()
S
64 1 10
order_item_title()
S
74 1 4
get_email_placeholders()
S
79 1 3